package com.example.chatzsyproject.adapter;

import android.widget.Button;

import androidx.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.chatzsyproject.R;
import com.example.chatzsyproject.app.MyApplication;
import com.example.chatzsyproject.model.ApplyListBean;
import com.hyphenate.easeui.widget.EaseImageView;

import java.util.List;

public class ApplyListAdapter extends BaseQuickAdapter<ApplyListBean, BaseViewHolder> {

    public ApplyListAdapter(int layoutResId, @Nullable List<ApplyListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ApplyListBean item) {
//        helper.setText(R.id.name, item.getName());
//        helper.setText(R.id.tv_content, item.getConent());
//        Button btn = helper.getView(R.id.btn);
//
//        EaseImageView im_head = helper.getView(R.id.iv_userhead);
//        Glide.with(MyApplication.getInstance()).load(item.getHead()).into(im_head);
    }
}
